package guimessage;

import controller.Contact;

public class FileUpload extends GUIToNetworkSignal {

	protected String filename;
	protected String path;
	protected int size;
	
	public FileUpload(Contact to, String filename, String path, int size) {
		super(to);
		this.filename = filename;
		this.path = path;
		this.size = size;
	}
	
	public String getFilename()
	{
		return filename;
	}
	
	public String getPath()
	{
		return path;
	}
	
	public int getSize()
	{
		return size;
	}

	public String toString()
	{
		return "Envoie de " + path + "(" + size / 1024 + "KB) a " + this.to;
	}
}
